﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Domain.Examin
{
    /// <summary>
    /// 审批流程实例
    /// </summary>
    [Table("approvalprocessinstancemodel")]
    public class approvalProcessInstanceModel:BaseEntity
    {
        /// <summary>
        /// 审批流程实例ID
        /// </summary>
        public long processId { get; set; }
        /// <summary>
        /// 当前所处节点ID
        /// </summary>
        public long currentNodeId { get; set; }
        /// <summary>
        /// 生产工单编号
        /// </summary>
        public long productionOrder { get; set; }
        /// <summary>
        /// 发起人
        /// </summary>
        public long initiator { get; set; }
        /// <summary>
        /// 实例状态    1：正在运行、2：已完成、3：已终止
        /// </summary>
        public int status { get; set; }
        /// <summary>
        /// 发起时间
        /// </summary>
        public DateTime? starttiome { get; set; }
        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime? endtime { get; set; }
    }
}
